package cn.bdqn.controller;

import cn.bdqn.pojo.SysUser;
import cn.bdqn.service.SysUserService;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;

import javax.annotation.Resource;
import javax.servlet.http.HttpSession;

@Controller
public class LoginController {
    @Resource
    SysUserService sysUserService;

    public String login(String usrName, String usrPassword,
                        Model model, HttpSession session){
        SysUser login = sysUserService.login(usrName, usrPassword);
        return "ss";
    }
}
